package com.sz.springboot_jpa.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.Id;

@Data
@Document("customer")
public class Customer {

    @Id
    private String id;

    private String firstName;

    private String lastName;

}
